{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "d1381825-15f6-4d7e-9f5e-fe2417de57ad",
   "metadata": {},
   "outputs": [],
   "source": [
    "from turtle import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "7be160e9-25a3-4562-b84c-995cd508b913",
   "metadata": {},
   "outputs": [],
   "source": [
    "color(\"red\",\"red\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "c5fc440d-3410-452c-be44-f875280365ac",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "10564865-1375-4684-a2f6-8e98ab1beef2",
   "metadata": {},
   "outputs": [],
   "source": [
    "sety(150)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "897b886a-df47-45f8-9941-d6d2ce1aae87",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(250)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "430d55e4-eca1-45c8-989a-181909c3e5ad",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "67d396e6-bd0e-497b-87fd-823c94dab498",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "1cd99030-1d75-4978-bd06-c3117167ebcd",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-500)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "89a84d3e-a122-4344-83c1-3b6a4e2af2e9",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "862455fc-69de-4c78-a610-8060430b5a77",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(300)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "c008b6a5-649f-4fa2-a15b-cf5594b8a0a5",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "5bef06b8-cdb9-4aa2-8056-500acd796e3f",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-500)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "e90fec79-ac3f-457e-b126-f05d361ed6ca",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "368da7b4-64ef-4ee3-9462-48c368936ed8",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(300)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "e7b05737-a06a-4c79-92cb-343719c84024",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "8317b497-68a0-45b9-9e57-d0a02215cd75",
   "metadata": {},
   "outputs": [],
   "source": [
    "color(\"yellow\",\"yellow\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "bb7fa59c-5a62-4a6c-be27-55390bb4f472",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "9cf151ed-f3f8-40d3-b7bd-361d18131c67",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(-200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "fee9d233-711d-4d4a-95c7-511aeda61903",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-15)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "2e9d1a31-e034-4df2-ba6e-0ae91b69668f",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "efff19dd-6e61-4c87-bc90-2986c4f3553a",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "df5b6552-2744-44b4-ae6c-bb323731197d",
   "metadata": {},
   "outputs": [],
   "source": [
    "undo()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "9a68a1aa-81b4-403c-972c-fef8943ae90f",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "id": "692e14bb-c69f-42f3-82f9-4cf89e8bd61f",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "id": "3fe24704-a72c-493f-9ff0-9102fc3cce4e",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "id": "91ed8fe4-d01c-446b-94aa-f20a92b14c5d",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "id": "73f8de06-f596-47ef-a573-0fc271dbdae6",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "id": "b976d2f4-830f-4c96-8a07-f2a8091014d9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-5)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "id": "9b73df67-016e-4759-b8a6-9ef732361c37",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "id": "5dab8e0b-a75c-4293-9aeb-3708a0e1a307",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "id": "f89c1219-a59f-4cb8-b321-dd0d4f455aca",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "id": "66735dd3-c466-4871-94fa-6c3b5a94cbb8",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "id": "499130c6-dc57-4281-82af-a5a333d3c3ce",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "id": "a8da252b-3a84-4094-8501-2d78f9d76c62",
   "metadata": {},
   "outputs": [],
   "source": [
    "undo()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "id": "67b38ddf-46ef-4599-adda-170fbd5bd774",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "id": "b8ba7e36-286d-4fad-b431-5c550fe30c65",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "id": "b4f9cf98-d095-4839-ba52-d2b48e2ef4f8",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "id": "cbc86c91-e7f6-4ca3-a06f-50b58f627946",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "id": "67e649ee-93af-4f82-a78e-4a8ca70f922c",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "id": "f9590191-41d6-4aac-8be6-288e8d2c89c1",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "id": "891d4e52-ac1d-4013-8bb6-178fbe06b506",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "id": "24483dfa-bab5-4031-b4f0-f9e7656607e8",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "id": "c088c9bb-b9b6-48b0-8e9a-a3090aadcb41",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 67,
   "id": "bf2bd424-5d2c-4822-9a45-eee4d13cc755",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(-150)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "id": "20d8e95d-98f0-43cb-9728-123cd5d2f572",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "id": "c5feb25c-f33c-4a34-986e-617e99f7e6df",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 117,
   "id": "7fb9575a-0e0e-40ac-b4ec-d49a307d2b92",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 118,
   "id": "4f895d57-ca69-4144-9f73-980b6b63c8ae",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 119,
   "id": "4c184702-e815-4787-86b6-bea0196dac45",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 120,
   "id": "1f9f1f07-891f-445e-8447-32d0d6072b94",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 121,
   "id": "6ff69440-8015-4239-b7c2-b17bc4eaa45d",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 122,
   "id": "cc228f0f-51a8-4d4e-9a44-4ef3e23f6472",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 123,
   "id": "8688288a-392f-4626-ad37-e37c1b05f78e",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 124,
   "id": "9016b94c-7ca6-4e72-b244-fd16013a6ab4",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 125,
   "id": "aa58509d-6a48-4bd3-9f93-afa953740151",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 126,
   "id": "8bf0ee6f-ab5e-47f3-b66c-ff0e40bec350",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 127,
   "id": "e42f7f6f-9112-40db-bc42-bdcb574e0fab",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 128,
   "id": "b8e37a80-d8de-4c45-b84a-9a1a559e467e",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 129,
   "id": "d0d709fb-9edd-48ed-a61f-34480d14c5b9",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 107,
   "id": "9a71e6a1-1e81-40d8-b6fa-ecd5c2e03e93",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(-90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 110,
   "id": "3190128b-6e6f-4d71-bd83-b54ff7f97337",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 113,
   "id": "1f4797db-0f1b-49bd-b6b4-421aeb1475b9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 114,
   "id": "847b11ef-6147-4c89-8b81-01ba37ab3c50",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 115,
   "id": "7e0521ba-5b64-4a81-ae96-d38d1e1911fc",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 116,
   "id": "2e4d2523-0d83-4d2d-9e5c-bfa2d849411e",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(180)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 130,
   "id": "22f5e501-684b-4391-8f63-dfdc1fced9c4",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 131,
   "id": "e197294c-1b98-4615-8ef8-6a1590bd4220",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 132,
   "id": "4a30b187-38d4-4c0a-a6d6-4e532c128afb",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 133,
   "id": "9b95bf02-712b-45cf-96fe-a880388cb3ca",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 148,
   "id": "aa07ba49-d844-4586-af36-6c4a52fa869e",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 147,
   "id": "b3ac2a87-4b36-4ab9-90d4-4ab5e361d98f",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(-36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 146,
   "id": "991f64c6-4259-4172-acaa-3d43c817d451",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-30)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 149,
   "id": "992ca63a-747c-4bc2-9123-eddbeb83d2ba",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 150,
   "id": "82f30cad-e604-4e2f-88eb-9d08bb26ce88",
   "metadata": {},
   "outputs": [],
   "source": [
    "ht()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "7c91a7ff-4f91-482f-849f-0123e063926e",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
